const state = {
  // 全部路由
  routes: []
}

const mutations = {
  // 设置路由
  SET_ROUTES: (state, routes) => {
    state.routes = routes;
  }
}

const actions = {
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
